import { _decorator, Component, Node, tween, Vec3 } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('loadingRot')
//加载界面的UI动画
export class loadingRot extends Component {
    onLoad(){
     
        
        let tweenDuration: number = 1.0;
        tween(this.node)
            .by(tweenDuration, { angle: 360 })
        
          
            .repeatForever() 
            .start()
    }
    start() {
        
    }

    update(deltaTime: number) {
        
    }
}


